<template>
	<MiDialog>
		<h5 slot="a">提示信息</h5>
		<p slot="b" v-text="text"></p>
		<button slot="c" @click="ok">确定</button>
	</MiDialog>
</template>

<script>
	import MiDialog from '../MiDialog/MiDialog.vue'

	export  default{
	        components:{MiDialog},
		data(){
	                return{
	                        text:""
	                };
		},
		methods:{
		        ok(){
		                this.$destroy(true);
			        document.body.removeChild(this.$el);
		        }
		}
	}
</script>